#!/bin/bash

if [ $# -eq 2 ]
then
  echo "Starting registration agent"
  javac *.java 
  java MainClass $1 $2
else
  echo "Usage: ./run <registration service host name> <service port>"
fi
